package ltd.hxya.novel.admin;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication(scanBasePackages = "ltd.hxya.novel")
@MapperScan("ltd.hxya.novel.admin.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class NovelAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(NovelAdminApplication.class, args);
    }

}
